package at.ac.tuwien.sepm.s2011.e0208329.domain;

public class Dienstleistung {
	
	private int idService;
	private boolean deleted;
	private String name;
	private double price;
	private double tax;
	private String technician;
	private int timeRequired; // In minutes
	private int saleNumber;
	
	/**
	 * Create a new service. The name of each parameter is self-explained for its 
	 * purpose ! 
	 * 
	 * @param idService
	 * @param deleted
	 * @param name
	 * @param price
	 * @param tax
	 * @param technician
	 * @param timeRequired
	 */
	public Dienstleistung(String name,
			double price, double tax, String technician, int timeRequired) {
		super();
		this.deleted = false;
		this.name = name;
		this.price = price;
		this.tax = tax;
		this.technician = technician;
		this.timeRequired = timeRequired;
		this.idService = -1;
		this.saleNumber = 0;
		
	}

	public Dienstleistung() {
		super();
	}

	public int getIdService() {
		return idService;
	}

	public void setIdService(int idService) {
		this.idService = idService;
	}

	public boolean isDeleted() {
		return deleted;
	}

	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public double getTax() {
		return tax;
	}

	public void setTax(double tax) {
		this.tax = tax;
	}

	public String getTechnician() {
		return technician;
	}

	public void setTechnician(String technician) {
		this.technician = technician;
	}

	public int getTimeRequired() {
		return timeRequired;
	}

	public void setTimeRequired(int timeRequired) {
		this.timeRequired = timeRequired;
	}

	public int getSaleNumber() {
		return saleNumber;
	}

	public void setSaleNumber(int saleNumber) {
		this.saleNumber = saleNumber;
	}


}
